package cn.yi.newsys.pojo;
/**
 * User 实体类
 * @author 祝愿辉
 *
 */
public class User {

	private Integer id ;			// 用户编号
	private String userName ;		// 用户名
	private String userPass ;		// 用户密码
	private Integer type ;			// 用户类型
	private String email ;			// 电子邮箱
	
	
	public Integer getId() {
		return id;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserPass() {
		return userPass;
	}
	public void setUserPass(String userPass) {
		this.userPass = userPass;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer userType) {
		this.type = userType;
	}
	
	/**
	 * 构造方法
	 * @param id
	 * @param userName
	 * @param userPass
	 * @param userType
	 * @param email
	 */
	public User(Integer id, String userName, String userPass, Integer userType, String email) {
		super();
		this.id = id;
		this.userName = userName;
		this.userPass = userPass;
		this.type = userType;
		this.email = email ;
	}
	
	/**
	 * 构造方法
	 * @param userName
	 * @param userPass
	 * @param userType
	 * @param email
	 */
	public User(String userName, String userPass, Integer userType, String email) {
		super();
		this.userName = userName;
		this.userPass = userPass;
		this.type = userType;
		this.email = email ;
	}
	
	/**
	 * 构造方法
	 * @param userName
	 * @param userPass
	 */
	public User(String userName, String userPass) {
		super();
		this.userName = userName;
		this.userPass = userPass;;
	}
	
	/**
	 * 构造方法
	 */
	public User() {
		super();
	}	
}
